package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_AccountCountForCompanyHistory", catalog="Id")
public class TcwAccountCountForCompanyHistory extends BaseEntity<TcwAccountCountForCompanyHistory> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="VGsBm", nameJava="vGsBm", typeDataBase="varchar")
	private String vGsBm;
	@YsField(nameDataBase="VGsMc", nameJava="vGsMc", typeDataBase="varchar")
	private String vGsMc;
	@YsField(nameDataBase="VGsJc", nameJava="vGsJc", typeDataBase="varchar")
	private String vGsJc;
	@YsField(nameDataBase="UserId", nameJava="userId", typeDataBase="varchar")
	private String userId;
	@YsField(nameDataBase="UserName", nameJava="userName", typeDataBase="varchar")
	private String userName;
	@YsField(nameDataBase="DeptPath", nameJava="deptPath", typeDataBase="varchar")
	private String deptPath;
	@YsField(nameDataBase="DeptName", nameJava="deptName", typeDataBase="varchar")
	private String deptName;
	@YsField(nameDataBase="UserPosition", nameJava="userPosition", typeDataBase="varchar")
	private String userPosition;
	@YsField(nameDataBase="FJe", nameJava="fJe", typeDataBase="decimal")
	private BigDecimal fJe;
	@YsField(nameDataBase="GDate", nameJava="gDate", typeDataBase="datetime")
	private Date gDate;
	@YsField(nameDataBase="BDeleted", nameJava="bDeleted", typeDataBase="bit")
	private Integer bDeleted;
	@YsField(nameDataBase="FFzEd", nameJava="fFzEd", typeDataBase="decimal")
	private BigDecimal fFzEd;
	@YsField(nameDataBase="FDjJe", nameJava="fDjJe", typeDataBase="decimal")
	private BigDecimal fDjJe;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwAccountCountForCompanyHistory setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TcwAccountCountForCompanyHistory setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getVGsBm() {
		return vGsBm;
	}
	public TcwAccountCountForCompanyHistory setVGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
		return this;
	}
	public String getVGsMc() {
		return vGsMc;
	}
	public TcwAccountCountForCompanyHistory setVGsMc(String vGsMc) {
		this.vGsMc = vGsMc;
		return this;
	}
	public String getVGsJc() {
		return vGsJc;
	}
	public TcwAccountCountForCompanyHistory setVGsJc(String vGsJc) {
		this.vGsJc = vGsJc;
		return this;
	}
	public String getUserId() {
		return userId;
	}
	public TcwAccountCountForCompanyHistory setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	public String getUserName() {
		return userName;
	}
	public TcwAccountCountForCompanyHistory setUserName(String userName) {
		this.userName = userName;
		return this;
	}
	public String getDeptPath() {
		return deptPath;
	}
	public TcwAccountCountForCompanyHistory setDeptPath(String deptPath) {
		this.deptPath = deptPath;
		return this;
	}
	public String getDeptName() {
		return deptName;
	}
	public TcwAccountCountForCompanyHistory setDeptName(String deptName) {
		this.deptName = deptName;
		return this;
	}
	public String getUserPosition() {
		return userPosition;
	}
	public TcwAccountCountForCompanyHistory setUserPosition(String userPosition) {
		this.userPosition = userPosition;
		return this;
	}
	public BigDecimal getFJe() {
		return fJe;
	}
	public TcwAccountCountForCompanyHistory setFJe(BigDecimal fJe) {
		this.fJe = fJe;
		return this;
	}
	public Date getGDate() {
		return gDate;
	}
	public TcwAccountCountForCompanyHistory setGDate(Date gDate) {
		this.gDate = gDate;
		return this;
	}
	public Integer getBDeleted() {
		return bDeleted;
	}
	public TcwAccountCountForCompanyHistory setBDeleted(Integer bDeleted) {
		this.bDeleted = bDeleted;
		return this;
	}
	public BigDecimal getFFzEd() {
		return fFzEd;
	}
	public TcwAccountCountForCompanyHistory setFFzEd(BigDecimal fFzEd) {
		this.fFzEd = fFzEd;
		return this;
	}
	public BigDecimal getFDjJe() {
		return fDjJe;
	}
	public TcwAccountCountForCompanyHistory setFDjJe(BigDecimal fDjJe) {
		this.fDjJe = fDjJe;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwAccountCountForCompanyHistory setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwAccountCountForCompanyHistory setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwAccountCountForCompanyHistory setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwAccountCountForCompanyHistory tcwAccountCountForCompanyHistory(
		String guid,
		String vGsBm,
		String vGsMc,
		String vGsJc,
		String userId,
		String userName,
		String deptPath,
		String deptName,
		String userPosition,
		BigDecimal fJe,
		Date gDate,
		Integer bDeleted,
		BigDecimal fFzEd,
		BigDecimal fDjJe,
		Integer status
			) {
		TcwAccountCountForCompanyHistory entity = new TcwAccountCountForCompanyHistory();
		entity.setGuid(guid);
		entity.setVGsBm(vGsBm);
		entity.setVGsMc(vGsMc);
		entity.setVGsJc(vGsJc);
		entity.setUserId(userId);
		entity.setUserName(userName);
		entity.setDeptPath(deptPath);
		entity.setDeptName(deptName);
		entity.setUserPosition(userPosition);
		entity.setFJe(fJe);
		entity.setGDate(gDate);
		entity.setBDeleted(bDeleted);
		entity.setFFzEd(fFzEd);
		entity.setFDjJe(fDjJe);
		entity.setStatus(status);
		return entity;
	}
}